import React from 'react';

type BirdProps = {
  x: number;
  y: number;
  size: number;
  rotation?: number;
};

const Bird: React.FC<BirdProps> = ({ x, y, size, rotation = 0 }) => {
  return (
    <g transform={`translate(${x}, ${y}) rotate(${rotation}) scale(${size / 100})`}>
      <g className="bird-inner">
        <path d="M0,0 C5,-10 15,-12 20,-5 C25,-12 35,-10 40,0 C35,10 25,12 20,5 C15,12 5,10 0,0 Z" fill="#4A6FA5" />
        <circle cx="30" cy="0" r="3" fill="#3A5F8C" />
        <circle cx="32" cy="-1" r="1" fill="white" />
        <path d="M35,-2 L40,0 L35,2 Z" fill="#FFC107" />
        <path d="M-5,-3 L-15,0 L-5,3 Z" fill="#3A5F8C" />
      </g>
    </g>
  );
};

export default Bird;
